// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import '@/common/style/reset.less'
import  'amfe-flexible';
import fastclick from 'fastclick'
import { Lazyload } from 'vant';

import VueScroller from "vue-scroller"
import 'vant/lib/index.less';
import store from './store'
import i18n from './lang'

fastclick.attach(document.body)
Vue.use(VueScroller);
Vue.use(Lazyload,{
    loading: require('./common/images/default2.jpg'),
    filter: {
      imgS (val) {
        val.src = val.src + '?param=120y120'
      }
    }
});
Vue.config.productionTip = false
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  store,
  i18n,
  components: { App },
  template: '<App/>'
})
